package com.cncbox.entity;

/**
 * Created by songs on 2016/3/31.
 */
public class Resource {

    private Integer id;

    //文章id
    private Integer artId;

    //资源名字
    private String name;

    //类型
    private char type;

    //资源路径
    private String pathName;

    //资源状态
    private char state;

    //排序
    private Integer sorting;

    //点击路径
    private String clickPath;

    //添加时间
    private String addTime;

    public Resource() {
    }

    public Resource(Integer id, Integer artId, String name, char type, String pathName, char state, Integer sorting, String clickPath, String addTime) {
        this.id = id;
        this.artId = artId;
        this.name = name;
        this.type = type;
        this.pathName = pathName;
        this.state = state;
        this.sorting = sorting;
        this.clickPath = clickPath;
        this.addTime = addTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArtId() {
        return artId;
    }

    public void setArtId(Integer artId) {
        this.artId = artId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getType() {
        return type;
    }

    public void setType(char type) {
        this.type = type;
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName;
    }

    public char getState() {
        return state;
    }

    public void setState(char state) {
        this.state = state;
    }

    public Integer getSorting() {
        return sorting;
    }

    public void setSorting(Integer sorting) {
        this.sorting = sorting;
    }

    public String getClickPath() {
        return clickPath;
    }

    public void setClickPath(String clickPath) {
        this.clickPath = clickPath;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }
}
